package sctu.edu.java.year2016.team07.nieying.practice.dishiyizhang;

/**
 * Created by Administrator on 2016/6/7 0007.
 */
public class One {
    public static void main(String args[]){
        System.out.println("-1.0/0="+(-1.0/0));
        System.out.println("+1.0/0="+(+1.0/0));
        try {
            System.out.println("-1/0="+(-1/0));
        }catch (Exception e){
            System.out.println("抛出异常："+e.getMessage());
        }
        System.out.println("+1/0="+(+1/0));
        System.out.println("输出结果。");
    }

}
